package com.yu.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yu.crm.domain.pojo.CrmDepartmentPosition;
import com.yxzz.common.BaseMapper;

import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 部门职位表 Mapper 接口
 * </p>
 *
 * @author donnie-bin
 * @since 2019-06-10
 */
public interface CrmDepartmentPositionMapper extends BaseMapper<CrmDepartmentPosition> {

    CrmDepartmentPosition getById(Long id);

    IPage<CrmDepartmentPosition> list(IPage<CrmDepartmentPosition> page, @Param("queryInfo") CrmDepartmentPosition queryInfo);
}
